package com.party.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

/**
 * 专区对象 zq_type
 *
 * @author ruoyi
 * @date 2025-01-03
 */
@Data
@TableName(value = "zq_type")
@EqualsAndHashCode(callSuper = true)
public class ZqType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "名称"
     */
    @Excel(name = "名称")
    @Size(min = 0, max = 100, message = "名称长度不能超过{max}个字符")
    private String name;

    /**
     * "图标"
     */
    @Excel(name = "图标")
    private String image;

    /**
     * "排序号"
     */
    @Excel(name = "排序号")
    private Long orderNum;

    private String delFlag;

}
